# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-statusnotifier-plugin
pkgver=0.2.3
pkgrel=0
pkgdesc="Panel area status notifier plugin for Xfce4"
url="https://docs.xfce.org/panel-plugins/xfce4-statusnotifier-plugin"
arch="all"
license="GPL-2.0-only"
makedepends="glib-dev libxfce4ui-dev xfce4-panel-dev libdbusmenu-gtk3-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-statusnotifier-plugin/${pkgver%.*}/xfce4-statusnotifier-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
4c56d4bc20a09b0fc3bb3c1e70e377ca65379bb765a8e86402cf1216ba0c7c3d9b9de28d3cde1e48a9c5509ca49cedf5fb8f90447189dc63bacac033cb1a7c98  xfce4-statusnotifier-plugin-0.2.3.tar.bz2
"
